statsmodels.git
3 weeks agoMerge version 0.14.4+dfsg-1+rpi1 and 0.14.6+dfsg-1 to produce 0.14.6+dfsg-1+rpi1 forky-staging archive/raspbian/0.14.6+dfsg-1+rpi1 raspbian/0.14.6+dfsg-1+rpi1
Raspbian automatic forward porter [Thu, 15 Jan 2026 06:29:29 +0000 (06:29 +0000)]
Merge version 0.14.4+dfsg-1+rpi1 and 0.14.6+dfsg-1 to produce 0.14.6+dfsg-1+rpi1

7 weeks agoMerge statsmodels (0.14.6+dfsg-1) import into refs/heads/workingbranch
Rebecca N. Palmer [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Merge statsmodels (0.14.6+dfsg-1) import into refs/heads/workingbranch

7 weeks agoIgnore a non-converging test
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Ignore a non-converging test

(it currently does warn about possible non-convergence and
it would be better to check that it does so)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1079789
Forwarded: no

Gbp-Pq: Name 1079789_ignore_arm64_nonconvergence.patch

7 weeks agoIgnore test exception on big-endian systems
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Ignore test exception on big-endian systems

failed in 0.14.1+dfsg-1

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_dynamic_factor_news_bigendian.patch

7 weeks agoFix random seeds for reproducibility
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Fix random seeds for reproducibility

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name fix_random_seeds.patch

7 weeks agoAllow building with Cython 3.x
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Allow building with Cython 3.x

(= Cython _version_ 3.x, not to be confused with the cython3 binary)

Author: Chad Fulton, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Origin: mostly https://github.com/statsmodels/statsmodels/pull/8961
Bug-Ubuntu: https://launchpad.net/bugs/2043284
Forwarded: no

Gbp-Pq: Name cython3p0_compat.patch

7 weeks agoIgnore extra warnings that may occur on mips*
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Ignore extra warnings that may occur on mips*

Some mips* hardware seems to emit
RuntimeWarning: invalid value encountered in multiply
on multiplication by explicit np.nan, which breaks these tests.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_ignore_nan_warnings.patch

7 weeks agoDon't require a warning armel numpy doesn't have
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Don't require a warning armel numpy doesn't have

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no (this version requires dpkg)

Gbp-Pq: Name ignore_armel_nonwarning.patch

7 weeks agoAllow a memory-heavy test to run out of memory
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Allow a memory-heavy test to run out of memory

Failed in 0.14.0 on armel,armhf,mipsel (but not i386)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_out_of_memory.patch

7 weeks agoIgnore a failure to converge on mipsel and armel
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Ignore a failure to converge on mipsel and armel

(Seen to fail in 0.13.5+dfsg-5, twice on mipsel, and in 0.14.0 on armel.
Not a plain mark.xfail to not accept "converged" to the wrong answer.)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_armel_ignore_nonconverge.patch

7 weeks agoAvoid cast exception in np.bincount
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Avoid cast exception in np.bincount

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1030208
Forwarded: no

Gbp-Pq: Name 1030208_scipy1p10.patch

7 weeks agoIgnore missing HessianInversionWarning on some mips*
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Ignore missing HessianInversionWarning on some mips*

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_ignore_nonwarning.patch

7 weeks agoLoosen tolerance on a possibly unstable test
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Loosen tolerance on a possibly unstable test

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1020060 and 1014278
Forwarded: https://github.com/statsmodels/statsmodels/issues/8341

Gbp-Pq: Name 1020060_loosen_test_tolerance.patch

7 weeks agoAvoid test failure on mipsel
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Avoid test failure on mipsel

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/statsmodels/statsmodels/8341
Bug-Debian: https://bugs.debian.org/1014884
Forwarded: no

Gbp-Pq: Name 1014884_loosen_test_tolerances.patch

7 weeks agotest_seasonal_order fails on i386
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
test_seasonal_order fails on i386

Warn on use and xfail

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_i386_ets.patch

7 weeks agoXfail / increase tolerance on tests
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Xfail / increase tolerance on tests

TestMICE and test_mixedlm vary enough with the random state, and
corrpsd is close enough to 0, that this is plausibly a rounding non-bug

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/997081
Forwarded: https://github.com/statsmodels/statsmodels/issues/7911

Gbp-Pq: Name 997081_xfail.patch

7 weeks agoRemove code from Stack Overflow and wasteful loop
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Remove code from Stack Overflow and wasteful loop

Stack Overflow content is CC-BY-SA licensed,
which this package is not supposed to be.  This snippet may be
too small to be copyrightable, but removing it to be safe.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name remove_ccbysa_snippet.patch

7 weeks agoAllow tests to fail if multiprocessing is not available
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Allow tests to fail if multiprocessing is not available

This is currently the case on hurd-i386

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_no_multiprocessing.patch

7 weeks agoUse local requirejs/mathjax
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Use local requirejs/mathjax

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name sphinx_local_requirejs.patch

7 weeks agoBe reproducible, and don't fail on examples exceptions
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Be reproducible, and don't fail on examples exceptions

If example code outputs an error when run,
ipython (ipython:: blocks) now fails the whole build by default,
and tools/nbgenerate.py (.ipynb files) now leaves out that file
(leaving a broken link in the examples index).

As some examples use downloaded data and are hence expected to be
unrunnable on a Debian buildd, this instead keeps them
(::ipython with error output, .ipynb without output).

Also remove timestamps, ipykernel IDs, etc from examples output
for reproducibility.  (This is here not in debian/rules to do it
before building the search index.)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name sphinx_reproducibility_and_ignore_errors.patch

7 weeks agoDon't try to use a theme we don't have
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Don't try to use a theme we don't have

Upstream switched to sphinx_material in
1d7aafad5c3ad634c9ae2122881c1809c2ccbcbe
and later to sphinx_immaterial; Debian doesn't have those themes.

(I haven't investigated packaging it, which might be a better long-term option.)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name no_sphinx_material.patch

7 weeks agoDon't try to write to the source directory
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Don't try to write to the source directory

Not allowed in autopkgtest

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name use_tmp_path.patch

7 weeks agoUse Python 3 in script shebangs
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Use Python 3 in script shebangs

(Skipping the two .pyx files with #!python - they need to be compiled
with Cython, not directly run with any version of plain Python)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name python3_shebangs.patch

7 weeks agoLoosen tolerances on some tests on i386
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Loosen tolerances on some tests on i386

and xfail a test that fails for not producing ConvergenceWarning.

Failure logs:
test_smoothing
https://buildd.debian.org/status/fetch.php?pkg=statsmodels&arch=i386&ver=0.9.0-3&stamp=1567157609&raw=0
test_multivariate_switch_univariate
https://buildd.debian.org/status/fetch.php?pkg=statsmodels&arch=i386&ver=0.12.0-1&stamp=1599693472&raw=0
TestMixedLM.test_compare_numdiff
salsa-ci for 0.14.2-1

As it only fails on i386 and isn't far wrong,
I suspect different rounding due to x87 excess precision

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: partly https://bugs.debian.org/938949
Forwarded: no

Gbp-Pq: Name i386_loosen_test_tolerances.patch

7 weeks agoUse example data from an R package we have
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Use example data from an R package we have

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name use_available_data.patch

7 weeks agoUse intersphinx inventory files from other Debian packages.
Diane Trout [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Use intersphinx inventory files from other Debian packages.

Forwarded: not-needed

Gbp-Pq: Name use_system_inventory.patch

7 weeks agoUse cached datasets in tests and examples
Debian Science Maintainers [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Use cached datasets in tests and examples

Also remove a download that isn't actually used in that example.

This allows the tests to pass, and at least some of the examples to
be built, in an offline environment such as a Debian buildd.

The cached data is extracted from R packages by debian/datasets/*.

Author: Diane Trout <diane@ghic.org>, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name use_cached_datasets.patch

7 weeks agostatsmodels (0.14.6+dfsg-1) unstable; urgency=medium
Rebecca N. Palmer [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
statsmodels (0.14.6+dfsg-1) unstable; urgency=medium

  * New upstream release.  Refresh patches.
  * Salsa CI: disable mostly-useless debrebuild.

[dgit import unpatched statsmodels 0.14.6+dfsg-1]

7 weeks agoImport statsmodels_0.14.6+dfsg.orig.tar.xz
Rebecca N. Palmer [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Import statsmodels_0.14.6+dfsg.orig.tar.xz

[dgit import orig statsmodels_0.14.6+dfsg.orig.tar.xz]

7 weeks agoImport statsmodels_0.14.6+dfsg-1.debian.tar.xz
Rebecca N. Palmer [Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)]
Import statsmodels_0.14.6+dfsg-1.debian.tar.xz

[dgit import tarball statsmodels 0.14.6+dfsg-1 statsmodels_0.14.6+dfsg-1.debian.tar.xz]

15 months agoMerge version 0.14.3+dfsg-1+rpi1 and 0.14.4+dfsg-1 to produce 0.14.4+dfsg-1+rpi1 trixie-staging archive/raspbian/0.14.4+dfsg-1+rpi1 raspbian/0.14.4+dfsg-1+rpi1
Raspbian automatic forward porter [Fri, 18 Oct 2024 18:01:16 +0000 (19:01 +0100)]
Merge version 0.14.3+dfsg-1+rpi1 and 0.14.4+dfsg-1 to produce 0.14.4+dfsg-1+rpi1

16 months agoMerge statsmodels (0.14.4+dfsg-1) import into refs/heads/workingbranch
Rebecca N. Palmer [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Merge statsmodels (0.14.4+dfsg-1) import into refs/heads/workingbranch

16 months agoIgnore a non-converging test
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Ignore a non-converging test

(it currently does warn about possible non-convergence and
it would be better to check that it does so)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1079789
Forwarded: no

Gbp-Pq: Name 1079789_ignore_arm64_nonconvergence.patch

16 months agoIgnore test exception on big-endian systems
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Ignore test exception on big-endian systems

failed in 0.14.1+dfsg-1

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_dynamic_factor_news_bigendian.patch

16 months agoFix random seeds for reproducibility
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Fix random seeds for reproducibility

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name fix_random_seeds.patch

16 months agoAllow building with Cython 3.x
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Allow building with Cython 3.x

(= Cython _version_ 3.x, not to be confused with the cython3 binary)

Author: Chad Fulton, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Origin: mostly https://github.com/statsmodels/statsmodels/pull/8961
Bug-Ubuntu: https://launchpad.net/bugs/2043284
Forwarded: no

Gbp-Pq: Name cython3p0_compat.patch

16 months agoIgnore extra warnings that may occur on mips*
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Ignore extra warnings that may occur on mips*

Some mips* hardware seems to emit
RuntimeWarning: invalid value encountered in multiply
on multiplication by explicit np.nan, which breaks these tests.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_ignore_nan_warnings.patch

16 months agoDon't require a warning armel numpy doesn't have
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Don't require a warning armel numpy doesn't have

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no (this version requires dpkg)

Gbp-Pq: Name ignore_armel_nonwarning.patch

16 months agoAllow a memory-heavy test to run out of memory
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Allow a memory-heavy test to run out of memory

Failed in 0.14.0 on armel,armhf,mipsel (but not i386)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_out_of_memory.patch

16 months agoIgnore a failure to converge on mipsel and armel
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Ignore a failure to converge on mipsel and armel

(Seen to fail in 0.13.5+dfsg-5, twice on mipsel, and in 0.14.0 on armel.
Not a plain mark.xfail to not accept "converged" to the wrong answer.)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_armel_ignore_nonconverge.patch

16 months agoAvoid cast exception in np.bincount
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Avoid cast exception in np.bincount

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1030208
Forwarded: no

Gbp-Pq: Name 1030208_scipy1p10.patch

16 months agoIgnore missing HessianInversionWarning on some mips*
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Ignore missing HessianInversionWarning on some mips*

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_ignore_nonwarning.patch

16 months agoLoosen tolerance on a possibly unstable test
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Loosen tolerance on a possibly unstable test

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1020060 and 1014278
Forwarded: https://github.com/statsmodels/statsmodels/issues/8341

Gbp-Pq: Name 1020060_loosen_test_tolerance.patch

16 months agoAvoid test failure on mipsel
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Avoid test failure on mipsel

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/statsmodels/statsmodels/8341
Bug-Debian: https://bugs.debian.org/1014884
Forwarded: no

Gbp-Pq: Name 1014884_loosen_test_tolerances.patch

16 months agotest_seasonal_order fails on i386
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
test_seasonal_order fails on i386

Warn on use and xfail

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_i386_ets.patch

16 months agoXfail / increase tolerance on tests
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Xfail / increase tolerance on tests

TestMICE and test_mixedlm vary enough with the random state, and
corrpsd is close enough to 0, that this is plausibly a rounding non-bug

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/997081
Forwarded: https://github.com/statsmodels/statsmodels/issues/7911

Gbp-Pq: Name 997081_xfail.patch

16 months agoRemove code from Stack Overflow and wasteful loop
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Remove code from Stack Overflow and wasteful loop

Stack Overflow content is CC-BY-SA licensed,
which this package is not supposed to be.  This snippet may be
too small to be copyrightable, but removing it to be safe.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name remove_ccbysa_snippet.patch

16 months agoAllow tests to fail if multiprocessing is not available
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Allow tests to fail if multiprocessing is not available

This is currently the case on hurd-i386

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_no_multiprocessing.patch

16 months agoUse local requirejs/mathjax
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Use local requirejs/mathjax

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name sphinx_local_requirejs.patch

16 months agoDon't fail documentation build on examples exceptions
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Don't fail documentation build on examples exceptions

If example code outputs an error when run,
ipython (ipython:: blocks) now fails the whole build by default,
and tools/nbgenerate.py (.ipynb files) now leaves out that file
(leaving a broken link in the examples index).

As some examples use downloaded data and are hence expected to be
unrunnable on a Debian buildd, this instead keeps them
(::ipython with error output, .ipynb without output).

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name sphinx_ignore_errors.patch

16 months agoDon't try to use a theme we don't have
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Don't try to use a theme we don't have

Upstream switched to sphinx_material in
1d7aafad5c3ad634c9ae2122881c1809c2ccbcbe
and later to sphinx_immaterial; Debian doesn't have those themes.

(I haven't investigated packaging it, which might be a better long-term option.)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name no_sphinx_material.patch

16 months agoDon't try to write to the source directory
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Don't try to write to the source directory

Not allowed in autopkgtest

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name use_tmp_path.patch

16 months agoUse Python 3 in script shebangs
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Use Python 3 in script shebangs

(Skipping the two .pyx files with #!python - they need to be compiled
with Cython, not directly run with any version of plain Python)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name python3_shebangs.patch

16 months agoLoosen tolerances on some tests on i386
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Loosen tolerances on some tests on i386

and xfail a test that fails for not producing ConvergenceWarning.

Failure logs:
test_smoothing
https://buildd.debian.org/status/fetch.php?pkg=statsmodels&arch=i386&ver=0.9.0-3&stamp=1567157609&raw=0
test_multivariate_switch_univariate
https://buildd.debian.org/status/fetch.php?pkg=statsmodels&arch=i386&ver=0.12.0-1&stamp=1599693472&raw=0
TestMixedLM.test_compare_numdiff
salsa-ci for 0.14.2-1

As it only fails on i386 and isn't far wrong,
I suspect different rounding due to x87 excess precision

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: partly https://bugs.debian.org/938949
Forwarded: no

Gbp-Pq: Name i386_loosen_test_tolerances.patch

16 months agoUse example data from an R package we have
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Use example data from an R package we have

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name use_available_data.patch

16 months agoUse intersphinx inventory files from other Debian packages.
Diane Trout [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Use intersphinx inventory files from other Debian packages.

Forwarded: not-needed

Gbp-Pq: Name use_system_inventory.patch

16 months agoUse cached datasets in tests and examples
Debian Science Maintainers [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Use cached datasets in tests and examples

Also remove a download that isn't actually used in that example.

This allows the tests to pass, and at least some of the examples to
be built, in an offline environment such as a Debian buildd.

The cached data is extracted from R packages by debian/datasets/*.

Author: Diane Trout <diane@ghic.org>, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name use_cached_datasets.patch

16 months agostatsmodels (0.14.4+dfsg-1) unstable; urgency=medium
Rebecca N. Palmer [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
statsmodels (0.14.4+dfsg-1) unstable; urgency=medium

  * New upstream release.  Refresh patches.

[dgit import unpatched statsmodels 0.14.4+dfsg-1]

16 months agoImport statsmodels_0.14.4+dfsg.orig.tar.xz
Rebecca N. Palmer [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Import statsmodels_0.14.4+dfsg.orig.tar.xz

[dgit import orig statsmodels_0.14.4+dfsg.orig.tar.xz]

16 months agoImport statsmodels_0.14.4+dfsg-1.debian.tar.xz
Rebecca N. Palmer [Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)]
Import statsmodels_0.14.4+dfsg-1.debian.tar.xz

[dgit import tarball statsmodels 0.14.4+dfsg-1 statsmodels_0.14.4+dfsg-1.debian.tar.xz]

16 months agoMerge version 0.14.2+dfsg-2+rpi1 and 0.14.3+dfsg-1 to produce 0.14.3+dfsg-1+rpi1 archive/raspbian/0.14.3+dfsg-1+rpi1 raspbian/0.14.3+dfsg-1+rpi1
Raspbian automatic forward porter [Sat, 28 Sep 2024 00:41:04 +0000 (01:41 +0100)]
Merge version 0.14.2+dfsg-2+rpi1 and 0.14.3+dfsg-1 to produce 0.14.3+dfsg-1+rpi1

16 months agoMerge statsmodels (0.14.3+dfsg-1) import into refs/heads/workingbranch
Rebecca N. Palmer [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Merge statsmodels (0.14.3+dfsg-1) import into refs/heads/workingbranch

16 months agoIgnore a non-converging test
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Ignore a non-converging test

(it currently does warn about possible non-convergence and
it would be better to check that it does so)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1079789
Forwarded: no

Gbp-Pq: Name 1079789_ignore_arm64_nonconvergence.patch

16 months agoIgnore test exception on big-endian systems
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Ignore test exception on big-endian systems

failed in 0.14.1+dfsg-1

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_dynamic_factor_news_bigendian.patch

16 months agoFix random seeds for reproducibility
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Fix random seeds for reproducibility

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name fix_random_seeds.patch

16 months agoAllow building with Cython 3.x
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Allow building with Cython 3.x

(= Cython _version_ 3.x, not to be confused with the cython3 binary)

Author: Chad Fulton, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Origin: mostly https://github.com/statsmodels/statsmodels/pull/8961
Bug-Ubuntu: https://launchpad.net/bugs/2043284
Forwarded: no

Gbp-Pq: Name cython3p0_compat.patch

16 months agoIgnore extra warnings that may occur on mips*
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Ignore extra warnings that may occur on mips*

Some mips* hardware seems to emit
RuntimeWarning: invalid value encountered in multiply
on multiplication by explicit np.nan, which breaks these tests.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_ignore_nan_warnings.patch

16 months agoDon't require a warning armel numpy doesn't have
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Don't require a warning armel numpy doesn't have

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no (this version requires dpkg)

Gbp-Pq: Name ignore_armel_nonwarning.patch

16 months agoAllow a memory-heavy test to run out of memory
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Allow a memory-heavy test to run out of memory

Failed in 0.14.0 on armel,armhf,mipsel (but not i386)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_out_of_memory.patch

16 months agoIgnore a failure to converge on mipsel and armel
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Ignore a failure to converge on mipsel and armel

(Seen to fail in 0.13.5+dfsg-5, twice on mipsel, and in 0.14.0 on armel.
Not a plain mark.xfail to not accept "converged" to the wrong answer.)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_armel_ignore_nonconverge.patch

16 months agoAvoid cast exception in np.bincount
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Avoid cast exception in np.bincount

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1030208
Forwarded: no

Gbp-Pq: Name 1030208_scipy1p10.patch

16 months agoIgnore missing HessianInversionWarning on some mips*
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Ignore missing HessianInversionWarning on some mips*

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_ignore_nonwarning.patch

16 months agoLoosen tolerance on a possibly unstable test
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Loosen tolerance on a possibly unstable test

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1020060 and 1014278
Forwarded: https://github.com/statsmodels/statsmodels/issues/8341

Gbp-Pq: Name 1020060_loosen_test_tolerance.patch

16 months agoAvoid test failure on mipsel
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Avoid test failure on mipsel

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/statsmodels/statsmodels/8341
Bug-Debian: https://bugs.debian.org/1014884
Forwarded: no

Gbp-Pq: Name 1014884_loosen_test_tolerances.patch

16 months agotest_seasonal_order fails on i386
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
test_seasonal_order fails on i386

Warn on use and xfail

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_i386_ets.patch

16 months agoXfail / increase tolerance on tests
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Xfail / increase tolerance on tests

TestMICE and test_mixedlm vary enough with the random state, and
corrpsd is close enough to 0, that this is plausibly a rounding non-bug

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/997081
Forwarded: https://github.com/statsmodels/statsmodels/issues/7911

Gbp-Pq: Name 997081_xfail.patch

16 months agoRemove code from Stack Overflow and wasteful loop
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Remove code from Stack Overflow and wasteful loop

Stack Overflow content is CC-BY-SA licensed,
which this package is not supposed to be.  This snippet may be
too small to be copyrightable, but removing it to be safe.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name remove_ccbysa_snippet.patch

16 months agoAllow tests to fail if multiprocessing is not available
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Allow tests to fail if multiprocessing is not available

This is currently the case on hurd-i386

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_no_multiprocessing.patch

16 months agoUse local requirejs/mathjax
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Use local requirejs/mathjax

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name sphinx_local_requirejs.patch

16 months agoDon't fail documentation build on examples exceptions
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Don't fail documentation build on examples exceptions

If example code outputs an error when run,
ipython (ipython:: blocks) now fails the whole build by default,
and tools/nbgenerate.py (.ipynb files) now leaves out that file
(leaving a broken link in the examples index).

As some examples use downloaded data and are hence expected to be
unrunnable on a Debian buildd, this instead keeps them
(::ipython with error output, .ipynb without output).

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name sphinx_ignore_errors.patch

16 months agoDon't try to use a theme we don't have
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Don't try to use a theme we don't have

Upstream switched to sphinx_material in
1d7aafad5c3ad634c9ae2122881c1809c2ccbcbe
and later to sphinx_immaterial; Debian doesn't have those themes.

(I haven't investigated packaging it, which might be a better long-term option.)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name no_sphinx_material.patch

16 months agoDon't try to write to the source directory
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Don't try to write to the source directory

Not allowed in autopkgtest

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name use_tmp_path.patch

16 months agoUse Python 3 in script shebangs
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Use Python 3 in script shebangs

(Skipping the two .pyx files with #!python - they need to be compiled
with Cython, not directly run with any version of plain Python)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name python3_shebangs.patch

16 months agoLoosen tolerances on some tests on i386
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Loosen tolerances on some tests on i386

and xfail a test that fails for not producing ConvergenceWarning.

Failure logs:
test_smoothing
https://buildd.debian.org/status/fetch.php?pkg=statsmodels&arch=i386&ver=0.9.0-3&stamp=1567157609&raw=0
test_multivariate_switch_univariate
https://buildd.debian.org/status/fetch.php?pkg=statsmodels&arch=i386&ver=0.12.0-1&stamp=1599693472&raw=0
TestMixedLM.test_compare_numdiff
salsa-ci for 0.14.2-1

As it only fails on i386 and isn't far wrong,
I suspect different rounding due to x87 excess precision

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: partly https://bugs.debian.org/938949
Forwarded: no

Gbp-Pq: Name i386_loosen_test_tolerances.patch

16 months agoUse example data from an R package we have
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Use example data from an R package we have

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name use_available_data.patch

16 months agoUse intersphinx inventory files from other Debian packages.
Diane Trout [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Use intersphinx inventory files from other Debian packages.

Forwarded: not-needed

Gbp-Pq: Name use_system_inventory.patch

16 months agoUse cached datasets in tests and examples
Debian Science Maintainers [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Use cached datasets in tests and examples

Also remove a download that isn't actually used in that example.

This allows the tests to pass, and at least some of the examples to
be built, in an offline environment such as a Debian buildd.

The cached data is extracted from R packages by debian/datasets/*.

Author: Diane Trout <diane@ghic.org>, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name use_cached_datasets.patch

16 months agostatsmodels (0.14.3+dfsg-1) unstable; urgency=medium
Rebecca N. Palmer [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
statsmodels (0.14.3+dfsg-1) unstable; urgency=medium

  * New upstream release.  Refresh patches.

[dgit import unpatched statsmodels 0.14.3+dfsg-1]

16 months agoImport statsmodels_0.14.3+dfsg.orig.tar.xz
Rebecca N. Palmer [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Import statsmodels_0.14.3+dfsg.orig.tar.xz

[dgit import orig statsmodels_0.14.3+dfsg.orig.tar.xz]

16 months agoImport statsmodels_0.14.3+dfsg-1.debian.tar.xz
Rebecca N. Palmer [Sat, 21 Sep 2024 11:58:14 +0000 (12:58 +0100)]
Import statsmodels_0.14.3+dfsg-1.debian.tar.xz

[dgit import tarball statsmodels 0.14.3+dfsg-1 statsmodels_0.14.3+dfsg-1.debian.tar.xz]

16 months agoMerge version 0.14.2+dfsg-1+rpi1 and 0.14.2+dfsg-2 to produce 0.14.2+dfsg-2+rpi1 archive/raspbian/0.14.2+dfsg-2+rpi1 raspbian/0.14.2+dfsg-2+rpi1
Raspbian automatic forward porter [Sun, 8 Sep 2024 07:56:36 +0000 (08:56 +0100)]
Merge version 0.14.2+dfsg-1+rpi1 and 0.14.2+dfsg-2 to produce 0.14.2+dfsg-2+rpi1

17 months agoMerge statsmodels (0.14.2+dfsg-2) import into refs/heads/workingbranch
Rebecca N. Palmer [Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)]
Merge statsmodels (0.14.2+dfsg-2) import into refs/heads/workingbranch

17 months agoIgnore a non-converging test
Debian Science Maintainers [Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)]
Ignore a non-converging test

(it currently does warn about possible non-convergence and
it would be better to check that it does so)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1079789
Forwarded: no

Gbp-Pq: Name 1079789_ignore_arm64_nonconvergence.patch

17 months agoIgnore test exception on big-endian systems
Debian Science Maintainers [Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)]
Ignore test exception on big-endian systems

failed in 0.14.1+dfsg-1

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_dynamic_factor_news_bigendian.patch

17 months agoFix random seeds for reproducibility
Debian Science Maintainers [Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)]
Fix random seeds for reproducibility

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name fix_random_seeds.patch

17 months agoAllow building with Cython 3.x
Debian Science Maintainers [Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)]
Allow building with Cython 3.x

(= Cython _version_ 3.x, not to be confused with the cython3 binary)

Author: Chad Fulton, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Origin: mostly https://github.com/statsmodels/statsmodels/pull/8961
Bug-Ubuntu: https://launchpad.net/bugs/2043284
Forwarded: no

Gbp-Pq: Name cython3p0_compat.patch

17 months agoIgnore extra warnings that may occur on mips*
Debian Science Maintainers [Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)]
Ignore extra warnings that may occur on mips*

Some mips* hardware seems to emit
RuntimeWarning: invalid value encountered in multiply
on multiplication by explicit np.nan, which breaks these tests.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_ignore_nan_warnings.patch

17 months agoDon't require a warning armel numpy doesn't have
Debian Science Maintainers [Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)]
Don't require a warning armel numpy doesn't have

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no (this version requires dpkg)

Gbp-Pq: Name ignore_armel_nonwarning.patch

17 months agoAllow a memory-heavy test to run out of memory
Debian Science Maintainers [Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)]
Allow a memory-heavy test to run out of memory

Failed in 0.14.0 on armel,armhf,mipsel (but not i386)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_out_of_memory.patch

17 months agoIgnore a failure to converge on mipsel and armel
Debian Science Maintainers [Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)]
Ignore a failure to converge on mipsel and armel

(Seen to fail in 0.13.5+dfsg-5, twice on mipsel, and in 0.14.0 on armel.
Not a plain mark.xfail to not accept "converged" to the wrong answer.)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_armel_ignore_nonconverge.patch